package edu.bbu.bibliospring.backend.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.IdClass;
import javax.persistence.Table;


/**
 * Created by anna on 6/4/14.
 */

@Entity
@Table(name = "location")
//@IdClass(BaseEntity.class)
public class Location extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Column(name = "libraryName")
    protected String libraryName;
    @Column(name = "address")
    protected String address;

    public Location() {}

    public Location(String libraryName, String address) {
        this.libraryName = libraryName;
        this.address = address;
    }

    public String getLibraryName() {
        return libraryName;
    }

    public void setLibraryName(String libraryName) {
        this.libraryName = libraryName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
